<!DOCTYPE html>
<html>
<head>
    <title>Array Type Concat Example</title>
    <script type="text/javascript">
    
        var colors = ["red", "green", "blue"];
        var colors2 = colors.concat("yellow", ["black", "brown"]);
        
        alert(colors);     //red,green,blue        
        alert(colors2);    //red,green,blue,yellow,black,brown

    </script>
</head>
<body>

</body>
</html>